package com.bimiaomiao.service02.web;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @description:
 * @package com.bimiaomiao.service02.web
 * @who MiaoMiao "Sprout" BI
 * @date 2021-02-04 15:39:06
 */
@RestController
@RequestMapping("service02")
public class Service02Controller {

    @Value("${server.port}")
    private int port;

    @GetMapping("demo02")
    public String demo02()
    {
        return "demo02,端口号:"+port;
    }
}
